package com.mtsmda.bookjava7.chapter11.generics.animals;

public class Dog extends Animal {

	private static final long serialVersionUID = 1L;

	@Override
	public void isAnimal() {
		System.out.println(this.getClass().getCanonicalName());
	}

	@Override
	public void animal() {
		System.out.println("i am dog");
	}

}